package com.jun.pojo.entity;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

@Data
public class Food implements Serializable {
  @NotNull
  private Integer id;

  @NotBlank
  private String name;

  private String iconPath;

  private String addr;

  private Boolean open;

  private Integer stars;

  private List<Tag> tag;
}
